package com.cv.framework.role.config;

import com.cv.framework.role.core.aop.RolePermitAspect;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * 角色校验自动配置类
 *
 * @author Charles_XDXD
 */
@AutoConfiguration
public class CvRoleCheckAutoConfiguration {

    @Bean
    public RolePermitAspect cvRoleCheckAspect() {
        return new RolePermitAspect();
    }

}
